{config_load file="global.conf"}


<table id="tabl_perfItems" border="0" width="98%" name="tabl_perfItems" cellpadding="3" cellspacing="0">

{if !$signalsPerf}
	{foreach key="ItemID" name=outer item=item from=$data}
	   <tr height="20px;">
	   	<td width="120" {if $ItemID%2==0}class="darkRow"{/if}>
	        &nbsp;{$item.MAPName}
	    </td>
	    <td {if $ItemID%2==0}class="darkRow"{/if} align="right">
	        <b>{if !$item.Result} - {else}<span {if $item.Result>0}class="valuePositive"{else}class="valueNegative"{/if}>{$item.Result}</span> %{/if}</b>
	    </td>
	  </tr>
	{/foreach}
{else}
	{foreach key="ItemID" name="items" item="itemOne" from=$itemsArr}
		{if $itemOne.ID!=0}
		<tr height="20px;">
			<td width="120" {if $smarty.foreach.items.iteration%2!=0}class="darkRow"{/if}>
		 		<nobr>&nbsp;IntelliForex {$itemOne.Name}</nobr>
		  	</td>
		  	<td {if $smarty.foreach.items.iteration%2!=0}class="darkRow"{/if} align="right">
		  	{foreach key="DateKey" name="dates" item="itemDate" from=$datesArr}
		  	{if $itemDate.DateKey==$selectedDateKey}
		  		{if !$data.$DateKey.$ItemID} - {else}<span {if $data.$DateKey.$ItemID>0}class="valuePositive"{else}class="valueNegative"{/if}>{$data.$DateKey.$ItemID}</span> pips{/if}
		  		{/if}
		  	{/foreach}
		  	{*$totalsArr.$ItemID.pips*}
		  	</td>
	    </tr>
	    {/if}
	{/foreach}
{/if}


</table>

{*$selectedDateKey*}


